﻿using System;
using System.Diagnostics;
using System.IO;
using Google.ProtocolBuffers;
using Google.ProtocolBuffers.Descriptors;
using Google.ProtocolBuffers.FieldAccess;

namespace com.gexin.rp.sdk.dto
{
	// Token: 0x02000008 RID: 8
	[DebuggerNonUserCode]
	public sealed class ReqServList : GeneratedMessage<ReqServList, ReqServList.Builder>
	{
		// Token: 0x06000054 RID: 84 RVA: 0x00002C1B File Offset: 0x00000E1B
		private ReqServList()
		{
		}

		// Token: 0x17000026 RID: 38
		// (get) Token: 0x06000055 RID: 85 RVA: 0x00002C35 File Offset: 0x00000E35
		public static ReqServList DefaultInstance
		{
			get
			{
				return ReqServList.defaultInstance;
			}
		}

		// Token: 0x17000027 RID: 39
		// (get) Token: 0x06000056 RID: 86 RVA: 0x00002C3C File Offset: 0x00000E3C
		public override ReqServList DefaultInstanceForType
		{
			get
			{
				return ReqServList.DefaultInstance;
			}
		}

		// Token: 0x17000028 RID: 40
		// (get) Token: 0x06000057 RID: 87 RVA: 0x00002579 File Offset: 0x00000779
		protected override ReqServList ThisMessage
		{
			get
			{
				return this;
			}
		}

		// Token: 0x17000029 RID: 41
		// (get) Token: 0x06000058 RID: 88 RVA: 0x00002C43 File Offset: 0x00000E43
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GtReq.internal__static_com_gexin_rp_sdk_dto_ReqServList__Descriptor;
			}
		}

		// Token: 0x1700002A RID: 42
		// (get) Token: 0x06000059 RID: 89 RVA: 0x00002C4A File Offset: 0x00000E4A
		protected override FieldAccessorTable<ReqServList, ReqServList.Builder> InternalFieldAccessors
		{
			get
			{
				return GtReq.internal__static_com_gexin_rp_sdk_dto_ReqServList__FieldAccessorTable;
			}
		}

		// Token: 0x1700002B RID: 43
		// (get) Token: 0x0600005A RID: 90 RVA: 0x00002C51 File Offset: 0x00000E51
		public bool HasSeqId
		{
			get
			{
				return this.hasSeqId;
			}
		}

		// Token: 0x1700002C RID: 44
		// (get) Token: 0x0600005B RID: 91 RVA: 0x00002C59 File Offset: 0x00000E59
		public string SeqId
		{
			get
			{
				return this.seqId_;
			}
		}

		// Token: 0x1700002D RID: 45
		// (get) Token: 0x0600005C RID: 92 RVA: 0x00002C61 File Offset: 0x00000E61
		public bool HasTimestamp
		{
			get
			{
				return this.hasTimestamp;
			}
		}

		// Token: 0x1700002E RID: 46
		// (get) Token: 0x0600005D RID: 93 RVA: 0x00002C69 File Offset: 0x00000E69
		public long Timestamp
		{
			get
			{
				return this.timestamp_;
			}
		}

		// Token: 0x1700002F RID: 47
		// (get) Token: 0x0600005E RID: 94 RVA: 0x00002C71 File Offset: 0x00000E71
		public override bool IsInitialized
		{
			get
			{
				return this.hasTimestamp;
			}
		}

		// Token: 0x0600005F RID: 95 RVA: 0x00002C80 File Offset: 0x00000E80
		public override void WriteTo(ICodedOutputStream output)
		{
			this.CalcSerializedSize();
			string[] reqServListFieldNames = ReqServList._reqServListFieldNames;
			if (this.hasSeqId)
			{
				output.WriteString(1, reqServListFieldNames[0], this.SeqId);
			}
			if (this.hasTimestamp)
			{
				output.WriteInt64(3, reqServListFieldNames[1], this.Timestamp);
			}
			this.UnknownFields.WriteTo(output);
		}

		// Token: 0x17000030 RID: 48
		// (get) Token: 0x06000060 RID: 96 RVA: 0x00002CD8 File Offset: 0x00000ED8
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				return this.CalcSerializedSize();
			}
		}

		// Token: 0x06000061 RID: 97 RVA: 0x00002CF8 File Offset: 0x00000EF8
		private int CalcSerializedSize()
		{
			int num = this.memoizedSerializedSize;
			if (num != -1)
			{
				return num;
			}
			num = 0;
			if (this.hasSeqId)
			{
				num += CodedOutputStream.ComputeStringSize(1, this.SeqId);
			}
			if (this.hasTimestamp)
			{
				num += CodedOutputStream.ComputeInt64Size(3, this.Timestamp);
			}
			num += this.UnknownFields.SerializedSize;
			this.memoizedSerializedSize = num;
			return num;
		}

		// Token: 0x06000062 RID: 98 RVA: 0x00002D58 File Offset: 0x00000F58
		public static ReqServList ParseFrom(ByteString data)
		{
			return ReqServList.CreateBuilder().MergeFrom(data).BuildParsed();
		}

		// Token: 0x06000063 RID: 99 RVA: 0x00002D6A File Offset: 0x00000F6A
		public static ReqServList ParseFrom(ByteString data, ExtensionRegistry extensionRegistry)
		{
			return ReqServList.CreateBuilder().MergeFrom(data, extensionRegistry).BuildParsed();
		}

		// Token: 0x06000064 RID: 100 RVA: 0x00002D7D File Offset: 0x00000F7D
		public static ReqServList ParseFrom(byte[] data)
		{
			return ReqServList.CreateBuilder().MergeFrom(data).BuildParsed();
		}

		// Token: 0x06000065 RID: 101 RVA: 0x00002D8F File Offset: 0x00000F8F
		public static ReqServList ParseFrom(byte[] data, ExtensionRegistry extensionRegistry)
		{
			return ReqServList.CreateBuilder().MergeFrom(data, extensionRegistry).BuildParsed();
		}

		// Token: 0x06000066 RID: 102 RVA: 0x00002DA2 File Offset: 0x00000FA2
		public static ReqServList ParseFrom(Stream input)
		{
			return ReqServList.CreateBuilder().MergeFrom(input).BuildParsed();
		}

		// Token: 0x06000067 RID: 103 RVA: 0x00002DB4 File Offset: 0x00000FB4
		public static ReqServList ParseFrom(Stream input, ExtensionRegistry extensionRegistry)
		{
			return ReqServList.CreateBuilder().MergeFrom(input, extensionRegistry).BuildParsed();
		}

		// Token: 0x06000068 RID: 104 RVA: 0x00002DC7 File Offset: 0x00000FC7
		public static ReqServList ParseDelimitedFrom(Stream input)
		{
			return ReqServList.CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
		}

		// Token: 0x06000069 RID: 105 RVA: 0x00002DD9 File Offset: 0x00000FD9
		public static ReqServList ParseDelimitedFrom(Stream input, ExtensionRegistry extensionRegistry)
		{
			return ReqServList.CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
		}

		// Token: 0x0600006A RID: 106 RVA: 0x00002DEC File Offset: 0x00000FEC
		public static ReqServList ParseFrom(ICodedInputStream input)
		{
			return ReqServList.CreateBuilder().MergeFrom(input).BuildParsed();
		}

		// Token: 0x0600006B RID: 107 RVA: 0x00002DFE File Offset: 0x00000FFE
		public static ReqServList ParseFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
		{
			return ReqServList.CreateBuilder().MergeFrom(input, extensionRegistry).BuildParsed();
		}

		// Token: 0x0600006C RID: 108 RVA: 0x00002579 File Offset: 0x00000779
		private ReqServList MakeReadOnly()
		{
			return this;
		}

		// Token: 0x0600006D RID: 109 RVA: 0x00002E11 File Offset: 0x00001011
		public static ReqServList.Builder CreateBuilder()
		{
			return new ReqServList.Builder();
		}

		// Token: 0x0600006E RID: 110 RVA: 0x00002E18 File Offset: 0x00001018
		public override ReqServList.Builder ToBuilder()
		{
			return ReqServList.CreateBuilder(this);
		}

		// Token: 0x0600006F RID: 111 RVA: 0x00002E11 File Offset: 0x00001011
		public override ReqServList.Builder CreateBuilderForType()
		{
			return new ReqServList.Builder();
		}

		// Token: 0x06000070 RID: 112 RVA: 0x00002E20 File Offset: 0x00001020
		public static ReqServList.Builder CreateBuilder(ReqServList prototype)
		{
			return new ReqServList.Builder(prototype);
		}

		// Token: 0x06000071 RID: 113 RVA: 0x00002E28 File Offset: 0x00001028
		static ReqServList()
		{
			FileDescriptor descriptor = GtReq.Descriptor;
		}

		// Token: 0x04000078 RID: 120
		private static readonly ReqServList defaultInstance = new ReqServList().MakeReadOnly();

		// Token: 0x04000079 RID: 121
		private static readonly string[] _reqServListFieldNames = new string[]
		{
			"seqId",
			"timestamp"
		};

		// Token: 0x0400007A RID: 122
		private static readonly uint[] _reqServListFieldTags = new uint[]
		{
			10u,
			24u
		};

		// Token: 0x0400007B RID: 123
		public const int SeqIdFieldNumber = 1;

		// Token: 0x0400007C RID: 124
		private bool hasSeqId;

		// Token: 0x0400007D RID: 125
		private string seqId_ = "";

		// Token: 0x0400007E RID: 126
		public const int TimestampFieldNumber = 3;

		// Token: 0x0400007F RID: 127
		private bool hasTimestamp;

		// Token: 0x04000080 RID: 128
		private long timestamp_;

		// Token: 0x04000081 RID: 129
		private int memoizedSerializedSize = -1;

		// Token: 0x02000052 RID: 82
		[DebuggerNonUserCode]
		public sealed class Builder : GeneratedBuilder<ReqServList, ReqServList.Builder>
		{
			// Token: 0x17000287 RID: 647
			// (get) Token: 0x060005FF RID: 1535 RVA: 0x00002579 File Offset: 0x00000779
			protected override ReqServList.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}

			// Token: 0x06000600 RID: 1536 RVA: 0x0000E5A5 File Offset: 0x0000C7A5
			public Builder()
			{
				this.result = ReqServList.DefaultInstance;
				this.resultIsReadOnly = true;
			}

			// Token: 0x06000601 RID: 1537 RVA: 0x0000E5BF File Offset: 0x0000C7BF
			internal Builder(ReqServList cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}

			// Token: 0x06000602 RID: 1538 RVA: 0x0000E5D8 File Offset: 0x0000C7D8
			private ReqServList PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					ReqServList other = this.result;
					this.result = new ReqServList();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}

			// Token: 0x17000288 RID: 648
			// (get) Token: 0x06000603 RID: 1539 RVA: 0x0000E614 File Offset: 0x0000C814
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}

			// Token: 0x17000289 RID: 649
			// (get) Token: 0x06000604 RID: 1540 RVA: 0x0000E621 File Offset: 0x0000C821
			protected override ReqServList MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}

			// Token: 0x06000605 RID: 1541 RVA: 0x0000E629 File Offset: 0x0000C829
			public override ReqServList.Builder Clear()
			{
				this.result = ReqServList.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}

			// Token: 0x06000606 RID: 1542 RVA: 0x0000E63E File Offset: 0x0000C83E
			public override ReqServList.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new ReqServList.Builder(this.result);
				}
				return new ReqServList.Builder().MergeFrom(this.result);
			}

			// Token: 0x1700028A RID: 650
			// (get) Token: 0x06000607 RID: 1543 RVA: 0x0000E664 File Offset: 0x0000C864
			public override MessageDescriptor DescriptorForType
			{
				get
				{
					return ReqServList.Descriptor;
				}
			}

			// Token: 0x1700028B RID: 651
			// (get) Token: 0x06000608 RID: 1544 RVA: 0x00002C3C File Offset: 0x00000E3C
			public override ReqServList DefaultInstanceForType
			{
				get
				{
					return ReqServList.DefaultInstance;
				}
			}

			// Token: 0x06000609 RID: 1545 RVA: 0x0000E66B File Offset: 0x0000C86B
			public override ReqServList BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}

			// Token: 0x0600060A RID: 1546 RVA: 0x0000E68E File Offset: 0x0000C88E
			public override ReqServList.Builder MergeFrom(IMessage other)
			{
				if (other is ReqServList)
				{
					return this.MergeFrom((ReqServList)other);
				}
				base.MergeFrom(other);
				return this;
			}

			// Token: 0x0600060B RID: 1547 RVA: 0x0000E6B0 File Offset: 0x0000C8B0
			public override ReqServList.Builder MergeFrom(ReqServList other)
			{
				if (other == ReqServList.DefaultInstance)
				{
					return this;
				}
				this.PrepareBuilder();
				if (other.HasSeqId)
				{
					this.SeqId = other.SeqId;
				}
				if (other.HasTimestamp)
				{
					this.Timestamp = other.Timestamp;
				}
				this.MergeUnknownFields(other.UnknownFields);
				return this;
			}

			// Token: 0x0600060C RID: 1548 RVA: 0x0000E704 File Offset: 0x0000C904
			public override ReqServList.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}

			// Token: 0x0600060D RID: 1549 RVA: 0x0000E714 File Offset: 0x0000C914
			public override ReqServList.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				UnknownFieldSet.Builder builder = null;
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(ReqServList._reqServListFieldNames, text, StringComparer.Ordinal);
						if (num2 < 0)
						{
							if (builder == null)
							{
								builder = UnknownFieldSet.CreateBuilder(this.UnknownFields);
							}
							this.ParseUnknownField(input, builder, extensionRegistry, num, text);
							continue;
						}
						num = ReqServList._reqServListFieldTags[num2];
					}
					if (num == 0u)
					{
						throw InvalidProtocolBufferException.InvalidTag();
					}
					if (num != 10u)
					{
						if (num != 24u)
						{
							if (WireFormat.IsEndGroupTag(num))
							{
								if (builder != null)
								{
									this.UnknownFields = builder.Build();
								}
								return this;
							}
							if (builder == null)
							{
								builder = UnknownFieldSet.CreateBuilder(this.UnknownFields);
							}
							this.ParseUnknownField(input, builder, extensionRegistry, num, text);
						}
						else
						{
							this.result.hasTimestamp = input.ReadInt64(ref this.result.timestamp_);
						}
					}
					else
					{
						this.result.hasSeqId = input.ReadString(ref this.result.seqId_);
					}
				}
				if (builder != null)
				{
					this.UnknownFields = builder.Build();
				}
				return this;
			}

			// Token: 0x1700028C RID: 652
			// (get) Token: 0x0600060E RID: 1550 RVA: 0x0000E818 File Offset: 0x0000CA18
			public bool HasSeqId
			{
				get
				{
					return this.result.hasSeqId;
				}
			}

			// Token: 0x1700028D RID: 653
			// (get) Token: 0x0600060F RID: 1551 RVA: 0x0000E825 File Offset: 0x0000CA25
			// (set) Token: 0x06000610 RID: 1552 RVA: 0x0000E832 File Offset: 0x0000CA32
			public string SeqId
			{
				get
				{
					return this.result.SeqId;
				}
				set
				{
					this.SetSeqId(value);
				}
			}

			// Token: 0x06000611 RID: 1553 RVA: 0x0000E83C File Offset: 0x0000CA3C
			public ReqServList.Builder SetSeqId(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasSeqId = true;
				this.result.seqId_ = value;
				return this;
			}

			// Token: 0x06000612 RID: 1554 RVA: 0x0000E869 File Offset: 0x0000CA69
			public ReqServList.Builder ClearSeqId()
			{
				this.PrepareBuilder();
				this.result.hasSeqId = false;
				this.result.seqId_ = "";
				return this;
			}

			// Token: 0x1700028E RID: 654
			// (get) Token: 0x06000613 RID: 1555 RVA: 0x0000E88F File Offset: 0x0000CA8F
			public bool HasTimestamp
			{
				get
				{
					return this.result.hasTimestamp;
				}
			}

			// Token: 0x1700028F RID: 655
			// (get) Token: 0x06000614 RID: 1556 RVA: 0x0000E89C File Offset: 0x0000CA9C
			// (set) Token: 0x06000615 RID: 1557 RVA: 0x0000E8A9 File Offset: 0x0000CAA9
			public long Timestamp
			{
				get
				{
					return this.result.Timestamp;
				}
				set
				{
					this.SetTimestamp(value);
				}
			}

			// Token: 0x06000616 RID: 1558 RVA: 0x0000E8B3 File Offset: 0x0000CAB3
			public ReqServList.Builder SetTimestamp(long value)
			{
				this.PrepareBuilder();
				this.result.hasTimestamp = true;
				this.result.timestamp_ = value;
				return this;
			}

			// Token: 0x06000617 RID: 1559 RVA: 0x0000E8D5 File Offset: 0x0000CAD5
			public ReqServList.Builder ClearTimestamp()
			{
				this.PrepareBuilder();
				this.result.hasTimestamp = false;
				this.result.timestamp_ = 0L;
				return this;
			}

			// Token: 0x0400033F RID: 831
			private bool resultIsReadOnly;

			// Token: 0x04000340 RID: 832
			private ReqServList result;
		}
	}
}
